<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
     <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>与＊卿 </title>
</head>
<body >
<jsp:include page="HeaderServlet"></jsp:include>

<section class="index-section">
    <div>
        <span></span>
        <span></span>
    </div>
    <div class="index-content">
        <section class="index-content-section-first"><div><img src="images/sectionbanner1.jpg" alt=""></div> </section>
        <section class="index-content-section-second">
            <div>
                <div class="index-auto">
            <article>婚纱的由来</article>
            <h6>COMPANY INTRODUCTION</h6>
            <main>${homeinfo.homeIntro }</main>
            <a class="index-button" href="#">查看详情</a>
                </div>
            </div>
        </section>
    </div>
</section>

<section class="index-product">
    <main>
        <ul>
            <li class="index-active"><a href="#"></a></li>
            <li><a href="#"></a></li>
            <li><a href="#"></a></li>
            <li><a href="#"></a></li>
        </ul>
    </main>
    <main></main>
    <main></main>
</section>
<div class="copyrights">Collect from <a href="http://www.cssmoban.com/" >网页模板</a></div>
<section class="index-margin-bottom">
    <div class="index-morecase">
        <span></span>
        <a href="#">MORE &#62; &#62;</a>
    </div>
    <div class="index-content">
        <div class="product-list">
        <c:forEach items="${proList }" var="product">
         <div class="am-u-sm-6 am-u-md-6 am-u-lg-4">
                <a href="productdetails.jsp">
                    <img src="${product.picUrl }" />
                </a>
            </div>
        </c:forEach>
        </div>
    </div>
</section>


<section class="index-margin-bottom">
    <div class="index-morecase">
        <span></span>
        <a href="#">MORE &#62; &#62;</a>
    </div>
    <div class="index-content">


        <div class="new-index">
            <ul>
                <li><img  src="images/productlogo1.jpg" alt=""> </li>
                <li>  <a href="article_list_content.jsp"><h3>${newList[0].title}</h3>
                    <article>${newList[0].content}
                    </article></a></li>
            </ul>
            <ul>
            <c:forEach items="${newList }" var="news" begin="1">
            <li><a href="article_list_content.jsp"><h3>${news.title }</h3>
                    <article>${news.content }</article>
                </a>
                </li>
            </c:forEach>
            </ul>
        </div>
    </div>
</section>

<jsp:include page="footerServlet"></jsp:include>
</body>
</html>